package com.test.service.impl;

import com.test.mapper.MultipleQuestionMapper;
import com.test.model.pojo.MultipleQuestion;
import com.test.service.MultipleQuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class MultipleQuestionServiceImpl implements MultipleQuestionService {


    @Autowired
    MultipleQuestionMapper multipleQuestionMapper;

    @Override
    public Integer getQuestionCounts() {
        return multipleQuestionMapper.getCounts();
    }

    @Override
    public MultipleQuestion getQuestionById(Integer id) {
        return multipleQuestionMapper.getQuestionById(id);
    }
}
